package com.baizhi.service;

import com.baizhi.Book;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface BookService {
    List<Book> selectOrderById(String column,int rownum);
    List<Book> selectOrderById(String column,String date,int rownum );
    Book selectOne(int id);
    PageInfo<Book> PageBook(int pageIndex, int pageSize, int id);
    PageInfo<Book> pageFirst(int pageIndex, int pageSize, int id);
}
